package com.itheima.homework.Object类;

public class test {
    public static void main(String[] args) {
        Phone1 p=new Phone1("苹果","白色",12332);
        Phone2 p2=new Phone2("华为","黑色",9999);
        System.out.println(p.toString());
        System.out.println(p2.toString());
    }
}
